using System;
using System.Collections.Generic;
using System.Linq;
using NLite.Data;
namespace SolutionModel
{
	[Table("T_UsersInRole")]
	public partial class T_UsersInRole 
	{
	
		[Id("ID",IsDbGenerated=true)]
		public Int64 ID { get;set; }
 
		[Column("UserID")]
		public String UserID { get;set; }
		[Column("RoleID")]
		public String RoleID { get;set; }
 
		[ManyToOne(ThisKey="RoleID",OtherKey="RoleID")]
		public T_AdminRole Role { get;set; }
		[ManyToOne(ThisKey="UserID",OtherKey="UserID")]
		public T_AdminUser User { get;set; }
 
 
	}
}
